home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / utilities / guide / stripguide.lha / Smakefile < prev    next >
Encoding:
Makefile  |  1994-06-30  |  454 b   |  28 lines

  1. #
  2. #    Makefile for creating a program to strip out amigaguide control statements
  3. #
  4. #
  5.  
  6. PRG    = stripguide
  7.  
  8. CC         = sc
  9. CFLAGS    = NOSTACKCHECK MEMSIZE=MEDIUM VERBOSE SMALLCODE SMALLDATA PARMS=REGS NOICONS
  10.  
  11. LEX        = flex
  12. LFLAGS    = -8
  13.  
  14. RM        = Delete QUIET
  15. MV        = Rename 
  16. CP        = Copy QUIET
  17.  
  18. $(PRG): $(PRG).c
  19.     $(CC) $(CFLAGS) LINK $< TO $@
  20.  
  21. $(PRG).c: $(PRG).l
  22.     $(LEX) $(LFLAGS) $<
  23.     $(CP) lex.yy.c $(PRG).c
  24.     $(RM) lex.yy.c
  25.  
  26. clean:
  27.     $(RM) $(PRG).c $(PRG).o $(PRG) $(PRG).lnk
  28.